package com.haitao.po;
import com.fesine.dao.BasePo;

import java.util.Date;
import java.math.BigDecimal;

public class ItemCatPo extends BasePo {
	private static final long serialVersionUID = 1L;
	//alias
	public static final String TABLE_ALIAS = "ItemCat";
	public static final String ALIAS_ID = "类目ID";
	public static final String ALIAS_PARENT_ID = "父类目ID=0时，代表的是一级的类目";
	public static final String ALIAS_NAME = "类目名称";
	public static final String ALIAS_STATUS = "状态。可选值:1(正常),2(删除)";
	public static final String ALIAS_SORT_ORDER = "排列序号，表示同级类目的展现次序，如数值相等则按名称次序排列。取值范围:大于零的整数";
	public static final String ALIAS_IS_PARENT = "该类目是否为父类目，1为true，0为false";
	public static final String ALIAS_CREATED = "创建时间";
	public static final String ALIAS_UPDATED = "创建时间";
	

	//columns START
    /**
     * 类目ID       db_column: id 
     */ 	
	private Long id;
    /**
     * 父类目ID=0时，代表的是一级的类目       db_column: parent_id 
     */ 	
	private Long parentId;
    /**
     * 类目名称       db_column: name 
     */ 	
	private String name;
    /**
     * 状态。可选值:1(正常),2(删除)       db_column: status 
     */ 	
	private Integer status;
    /**
     * 排列序号，表示同级类目的展现次序，如数值相等则按名称次序排列。取值范围:大于零的整数       db_column: sort_order 
     */ 	
	private Integer sortOrder;
    /**
     * 该类目是否为父类目，1为true，0为false       db_column: is_parent 
     */ 	
	private Boolean isParent;
    /**
     * 创建时间       db_column: created 
     */ 	
	private Date created;
    /**
     * 创建时间       db_column: updated 
     */ 	
	private Date updated;
	//columns END

	
	public Long getId() {
		return this.id;
	}
	
	public void setId(Long id) {
		this.id = id;
	}

	
	public Long getParentId() {
		return this.parentId;
	}
	
	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}

	
	public String getName() {
		return this.name;
	}
	
	public void setName(String name) {
		this.name = name;
	}

	
	public Integer getStatus() {
		return this.status;
	}
	
	public void setStatus(Integer status) {
		this.status = status;
	}

	
	public Integer getSortOrder() {
		return this.sortOrder;
	}
	
	public void setSortOrder(Integer sortOrder) {
		this.sortOrder = sortOrder;
	}

	
	public Boolean getIsParent() {
		return this.isParent;
	}
	
	public void setIsParent(Boolean isParent) {
		this.isParent = isParent;
	}

	
	public Date getCreated() {
		return this.created;
	}
	
	public void setCreated(Date created) {
		this.created = created;
	}

	
	public Date getUpdated() {
		return this.updated;
	}
	
	public void setUpdated(Date updated) {
		this.updated = updated;
	}


	

}

